package 晚间作业0418_scala

/**
 * 各种测试
 */
object Scala_02 {
  def main(args: Array[String]): Unit = {
//    listTest()
    var n: Int = 128
//    var n: Int = 130
    var b: Byte = n.toByte
    println(b)
    println(f06())
  }

  def f06() = {
    "aiy9ou"
  }

  def listTest() = {
    val abcde = List('a', 'b', 'c', 'd', 'e')
    val ab = abcde take 2
    println(ab.mkString(" "))
    val cde = abcde drop 2
    println(cde.mkString(" "))
  }
}
